Masteriyo\Database\Migrator S

Total Complexity 34
Dependencies 1
Dependents 1
Total lines 410
Lines of code 197
Logical lines of code 94
Comment lines 150
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
get_migrations()
S
48 4 40
migrate()
S
54 4 23
run_migration()
S
58 4 16
rollback()
S
52 3 27
reset()
S
56 3 20
setup()
S
56 2 22
get_class_with_namespace()
S
65 3 9
get_charset_collate()
S
79 2 3
get_plugin_base_path()
S
68 2 7
__construct()
S
82 1 3
init()
S
71 1 6
get_connection()
S
82 1 3
get_table_name()
S
80 1 3
get_migrations_to_run()
S
70 1 6
get_current_batch()
S
70 1 6
get_class_name()
S
79 1 3